import fasttext

model = fasttext.load_model('./fil9.bin')

the_vector = model.get_word_vector('the')
print(the_vector)

words = ['hello', 'world', 'music', 'man', 'weapon', 'carrier']
for word in words:
    neighbor = model.get_nearest_neighbors(word)
    print(neighbor)
